package hflyeer.o2o.web.controller.pages;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 店铺页面跳转
 */
@Controller
@RequestMapping("/shopadmin")
public class ShopAdminController {

	/**
	 * 跳转到注册店铺
	 * @return
	 */
	@RequestMapping(value = "/addshop", method = RequestMethod.GET)
	private String toShopOperationAdd() {
		return "shop/shopoperation_add";
	}

	/**
	 * 修改店铺
	 * @return
	 */
	@RequestMapping(value = "/editshop", method = RequestMethod.GET)
	private String toShopOperationEdit() {
		return "shop/shopoperation_edit";
	}
	
	/**
	 * 店铺列表
	 * @return
	 */
	@RequestMapping(value="/listshop",method = RequestMethod.GET)
	private String toShopList() {
		return "shop/shoplist";
	}
	
	/**
	 * 店铺管理
	 * @return
	 */
	@RequestMapping(value="/manageshop",method = RequestMethod.GET)
	private String toManageShop() {
		return "shop/shopmanage";
	}
	/**
	 * 商品分类
	 * @return
	 */
	@RequestMapping(value="/listproductcategory",method = RequestMethod.GET)
	private String toProductCategoryList() {
		return "product/productcategorylist_shopid";
	}
}


